//
//  ProgressHud.h
//  powercloudlefu
//
//  Created by Peng on 2018/5/29.
//  Copyright © 2018年 Peng. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface ProgressHud : NSObject

+ (void)show;
+ (void)hide;
+ (void)showText:(NSString *)text;

+ (void)dimBackgroundExample:(void(^)(MBProgressHUD *hud))dismissHandle;

+ (void)showHUDAddedTo:(UIView *)view animated:(BOOL)animated;

+ (void)hideHUDForView:(UIView *)view animated:(BOOL)animated;

+ (void)showDimBackGround;

+ (void)dismiddDimBackground;

+ (MBProgressHUD *)showHUDWithText:(NSString *)text hideDelay:(NSTimeInterval)delay;
+ (MBProgressHUD *)showHUDWithText:(NSString *)text hideDelay:(NSTimeInterval)delay inView:(UIView *)view;
@end
